package com.hcxy.filetransform.util;

import java.lang.ref.WeakReference;
import java.util.HashSet;

public abstract class Handler {
	protected abstract void handlerMessage(Message msg);
	
	public void sendMessage(Message msg){
		handlerMessage(msg);
	}
	
	
	public class Message{
		public int what;
		public Object obj1;
		public Message(int what) {
			this.what = what;
		}
		public Message(int what,Object obj1) {
			this.what = what;
			this.obj1 = obj1;
		}
		
	}
	
}
